package com.yidu.logisticssystem.controller;

import com.yidu.logisticssystem.entity.LogisticsAudit;
import com.yidu.logisticssystem.service.LogisticsAuditService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 审核表(LogisticsAudit)表控制层
 *
 * @author zp
 * @since 2021-03-11 09:10:39
 */
@RestController
@RequestMapping("logisticsAudit")
public class LogisticsAuditController {
    /**
     * 服务对象
     */
    @Resource
    private LogisticsAuditService logisticsAuditService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public LogisticsAudit selectOne(String id) {
        return this.logisticsAuditService.queryById(id);
    }

}
